package yf.mall.dao;

import org.apache.ibatis.annotations.Param;
import yf.mall.entity.GoodsGroupEntity;
import yf.mall.vo.GoodsGroupVo;
import org.apache.ibatis.annotations.Mapper;
import com.yf.dao.BaseDao;
import java.util.List;
/**
 * 团购发起Dao
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Sun Sep 25 10:16:00 CST 2022
 */
@Mapper
public interface GoodsGroupDao extends BaseDao<GoodsGroupEntity> {

    List<GoodsGroupVo> findVo(GoodsGroupVo vo);

    GoodsGroupVo getVo(Long id);


    GoodsGroupEntity findByUserIdAndGoodsId(@Param("userId") Long userId, @Param("goodsId") Long goodsId);
}
